﻿@using Sharp.Portal.ExtNet.FormField
@{
    var x = Html.X();
}
<script>
    function test(field, trigger, index) {
        field.up("container").down("window").setHidden(false);

        /*Ext.net.directRequest({
            cleanRequest: true,
            url: "",
            extraParams: { fieldId : field.getId()},
            method: "GET",
            control: this,
            eventMask: {
                showMask: true,
                msg: "正在打开..."
            }
        });*/
    }
</script>
@(
          x.SelectBoxField().WindowUrl(this.Url.Action("RenderWindow", "Default")).FieldLabel("testFieldLabel")

)